﻿namespace SLS.ExClassLib.WFActivities
{
    using System.Activities;
    using System.ComponentModel;
    using SLS.ExClassLib.Message;
    using SLS.ExClassLib.MVVM;
    public sealed class CheckNewJob : CodeActivity<bool>
    {
        protected override bool Execute(CodeActivityContext context)
        {
            // Obtain the runtime value of the Text input argument
            var wfmViewModel = context.GetExtension<IDataModel>();

            return wfmViewModel.CheckNewJob();
        }
    }

}
